<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>会员关系图</title>

	
	
	
	 <link href="__PUBLIC__/Theme1/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__PUBLIC__/Theme1/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">

    <!-- Data Tables -->
    <link href="__PUBLIC__/Theme1/css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">

    <link href="__PUBLIC__/Theme1/css/animate.min.css" rel="stylesheet">
    <link href="__PUBLIC__/Theme1/css/style.min.css?v=4.1.0" rel="stylesheet">
	<!-- Bootstrap Core JavaScript -->
	<script src="__PUBLIC__/Theme1/tree/dtree.css"></script>
	<script src="__PUBLIC__/Theme1/tree/dtree.js"></script>
	

	<style>
		.form-control, .single-line{display:inline-block;width:10%;}
		.grid_box1{text-align:center;}
		.panel-body a{color:##06cbc4;}
		.input-sm{height:34px;}
		table{border:1px solid #ccc;}
		.STYLE1 {color: #666666;font-size:14px;}
.ttab {BORDER-RIGHT: #667a9d 1px solid; BORDER-TOP: #667a9d 1px solid; BORDER-LEFT: #667a9d 1px solid; BORDER-BOTTOM: #667a9d 1px solid; width:175px; HEIGHT: 20px; margin-left:10px; margin-right:10px;}

	</style>
	
</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>会员关系图 <a href="__URL__/SysAdmin/lists" style="margin-left:15px; color:#06cbc4">会员列表</a></h5>
                        <div class="ibox-tools">
                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>
                            <a class="close-link">
                                <i class="fa fa-times"></i>
                            </a>
                        </div>
                    </div>
			
			<div class="ibox-content user-pic-bg">	
				
				<div class="row">
                <form method="get" action="__URL__/guanxilists0" class="form-horizontal" id="form-admin-add" enctype="multipart/form-data">
					<div class=" grid_box1">
						 <input type="text" name="name" id="search_loginname" class="form-control input-sm" placeholder="用户编号"/>
						 <button class="btn-success btn">搜索</button>&nbsp;
						 <a href="__URL__/guanxilists0" class="btn-success btn">全部</a>
					</div>
				</form>
				<div style="    text-align: center;padding: 10px 0px;font-size: 14px;font-weight: bold;">
				<a href="javascript:history.go(-1);" >返回</a>
				</div>
				</div>
				
				<style>
					.table-striped td{text-align:center;font-weight:bold;}
					
					.table td, .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{    padding: 15px 2px !important;}
					.table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th{    border: 1px solid #e7e7e7;}
					.table td{width:33%;}
				</style>
				
						
						
						
				<div class="no-padding">

                    <TABLE width="650" border=0 align="center" cellPadding=0 cellSpacing=0 style="margin-top:10px; border:0px solid #7cc5de;">
                        <TBODY>
                        <TR>

                            <TD colspan="4" align="center" style="border:0px;">
                                <TABLE  border=0 align="center" cellPadding=0 cellSpacing=1 style="width: 38%;" borderColorLight=white borderColorDark=#ffffff class="ttab">
                                    <TBODY>

                                    <if condition="$cate neq null">
                                        <TR>
                                            <TD height="25" colspan="3" align=middle style="HEIGHT: 40px; BACKGROUND-COLOR: #95d8f1; color:#000; font-weight:bold" ;>
                                                <A href="__APP__/User/affectlists?name=<{$cate['loginname']}>"  style="color:#000" >编号：<{$cate['loginname']}></A></TD>
                                        </TR>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle >姓名：<{$cate['truename']}></TD>
                                        </tr>

                                        <TR>
                                            <TD height="25" colspan="3" align=middle >级别：<?php  echo GetLevel($cate['standardlevel']) ?></TD>
                                        </tr>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle >消费:<{$cate.amountsum}></TD>
                                        </tr>
                                        <TR style="background-color:#95d0f0;text-align: center;">
                                            <td colspan="2">
                                                <table width="100%">
                                                    <tr>
                                                        <TD height="25" colspan="2" align=middle >团队统计</TD>
                                                    </tr>

                                                    <TR>
                                                        <TD height="25" align=middle>一部:<{$cate.countA}></TD>
                                                        <TD height="25" align=middle>二部:<{$cate.countB}></TD>
                                                    </tr>
                                                </table>
                                            </td>

                                        </tr>
                                        <TR style="background-color:#D3D6E9;text-align: center;">
                                            <td>
                                                <table width="100%">
                                                    <tr>
                                                        <TD height="25" colspan="2" align=middle >累计消费</TD>
                                                    </tr>

                                                    <TR>
                                                        <TD height="25" align=middle>一部:￥<{$cate.amountSumA}></TD>
                                                        <TD height="25" align=middle>二部:￥<{$cate.amountSumB}></TD>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>

                                        <else />
                                        <TR>
                                            <TD height="25" colspan="3" align=middle style="HEIGHT: 30px; BACKGROUND-COLOR: #95d8f1; color:#000; font-weight:bold">空点位</TD>
                                        </tr>
                                       <!--  <TR>
                                            <TD height="25" colspan="3" align=middle ><a href="__APP__/User/add"><font color="#">注 册</font></a></TD>
                                        </tr> -->

                                    </if>
                                    </TBODY>
                                </TABLE>

                            </TD>
                        </TR>

                        <TR>
                            <TD  colSpan=4 align="center" style="border:0px;"><img src="__PUBLIC__/Theme1/img/treeB.gif" width="395" height="50" /></TD>
                        </TR>

                        <TR>
                            <TD colspan="2" align="center" style="border:0px;">

                                <TABLE  border=0 align="center" cellPadding=0 cellSpacing=1 borderColorLight=white borderColorDark=#ffffff class="ttab">
                                    <TBODY>

                                    <if condition="$tuia neq null">
                                        <TR>
                                            <TD height="25" colspan="3" align=middle style="HEIGHT: 30px; BACKGROUND-COLOR: #95d8f1; color:#000; font-weight:bold" ;>
                                                <A href="__APP__/User/affectlists?name=<{$tuia['loginname']}>"  style="color:#000" >编号：<{$tuia['loginname']}></A></TD>
                                        </TR>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle >姓名：<{$tuia['truename']}></TD>
                                        </tr>

                                        <TR>
                                            <TD height="25" colspan="3" align=middle >级别：<?php  echo GetLevel($tuia['standardlevel']) ?></TD>
                                        </tr>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle >消费:<{$tuia.amountsum}></TD>
                                        </tr>
                                        <TR style="background-color:#95d0f0;text-align: center;">
                                            <td colspan="2">
                                                <table width="100%">
                                                    <tr>
                                                        <TD height="25" colspan="2" align=middle >团队统计</TD>
                                                    </tr>

                                                    <TR>
                                                        <TD height="25" align=middle>一部:<{$tuia.countA}></TD>
                                                        <TD height="25" align=middle>二部:<{$tuia.countB}></TD>
                                                    </tr>
                                                </table>
                                            </td>

                                        </tr>
                                        <TR style="background-color:#D3D6E9;text-align: center;">
                                            <td>
                                                <table width="100%">
                                                    <tr>
                                                        <TD height="25" colspan="2" align=middle >累计消费</TD>
                                                    </tr>

                                                    <TR>
                                                        <TD height="25" align=middle>一部:￥<{$tuia.amountSumA}></TD>
                                                        <TD height="25" align=middle>二部:￥<{$tuia.amountSumB}></TD>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <else/>
                                        <TR>
                                            <TD height="25" align=middle style="HEIGHT: 30px; BACKGROUND-COLOR: #95d8f1; color:#000; font-weight:bold">空点位</TD>
                                        </tr>
                                       <!--  <TR>
                                            <TD height="25" align=middle ><A href="__APP__/User/add?rid=<{$cate['loginname']}>&pid=<{$cate['loginname']}>&area=1"><font color="#">注 册</font></a></TD>
                                        </tr> -->
                                    </if>
                                    </TBODY>
                                </TABLE>

                            </TD>
                            <TD colspan="2" align="center" style="border:0px;">
                                <TABLE  border=0 align="center" cellPadding=0 cellSpacing=1 borderColorLight=white borderColorDark=#ffffff class="ttab">
                                    <TBODY>
                                    <if condition="$tuib neq null">
                                        <TR>
                                            <TD height="25" colspan="3" align=middle style="HEIGHT: 30px; BACKGROUND-COLOR: #95d8f1; color:#000; font-weight:bold"><A href="__APP__/User/affectlists?name=<{$tuib['loginname']}>&id=<{$tuib['id']}>"style="color:#000" >编号：<{$tuib['loginname']}></A></TD>
                                        </TR>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle >姓名：<{$tuib['truename']}></TD>
                                        </tr>

                                        <TR>
                                            <TD height="25" colspan="3" align=middle >级别：<?php  echo GetLevel($tuib['standardlevel']) ?></TD>
                                        </tr>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle >消费:<{$tuib.amountsum}></TD>
                                        </tr>
                                        <TR style="background-color:#95d0f0;text-align: center;">
                                            <td colspan="2">
                                                <table width="100%">
                                                    <tr>
                                                        <TD height="25" colspan="2" align=middle >团队统计</TD>
                                                    </tr>

                                                    <TR>
                                                        <TD height="25" align=middle>一部:<{$tuib.countA}></TD>
                                                        <TD height="25" align=middle>二部:<{$tuib.countB}></TD>
                                                    </tr>
                                                </table>
                                            </td>

                                        </tr>
                                        <TR style="background-color:#D3D6E9;text-align: center;">
                                            <td>
                                                <table width="100%">
                                                    <tr>
                                                        <TD height="25" colspan="2" align=middle >累计消费</TD>
                                                    </tr>

                                                    <TR>
                                                        <TD height="25" align=middle>一部:￥<{$tuib.amountSumA}></TD>
                                                        <TD height="25" align=middle>二部:￥<{$tuib.amountSumB}></TD>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <else/>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle style="HEIGHT: 30px; BACKGROUND-COLOR: #95d8f1; color:#000; font-weight:bold">空点位</TD>
                                        </tr>
                                        <!-- <TR>
                                            <TD height="25" colspan="3" align=middle ><A href="__APP__/User/add?rid=<{$cate['loginname']}>&pid=<{$cate['loginname']}>&area=2"><font color="#">注 册</font></a></TD>
                                        </tr> -->
                                    </if>
                                    </TBODY>
                                </TABLE>


                            </TD>
                        </TR>
                        <TR>
                            <TD style="border:0px;" colSpan=2 align="center"><img src="__PUBLIC__/Theme1/img/treeB.gif" width="395" height="50" /></TD>
                            <TD style="border:0px;" colSpan=2 align="center"><img src="__PUBLIC__/Theme1/img/treeB.gif" width="395" height="50" /></TD></TR>
                        <!-- 3层---------------------------------------------------------- -->


                        <TR>
                            <TD  align="left" style="border:0px;">

                                <TABLE  border=0 align="center" cellPadding=0 cellSpacing=1 borderColorLight=white borderColorDark=#ffffff class="ttab">
                                    <TBODY>
                                    <if condition="$sana neq null">
                                        <TR>
                                            <TD height="25" colspan="3" align=middle style="HEIGHT: 30px; BACKGROUND-COLOR: #95d8f1; color:#000; font-weight:bold"><A href="__APP__/User/affectlists?name=<{$sana['loginname']}>&id=<{$sana['id']}>" style="color:#000" >编号：<{$sana['loginname']}></A></TD>
                                        </TR>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle >姓名：<{$sana['truename']}></TD>
                                        </tr>

                                        <TR>
                                            <TD height="25" colspan="3" align=middle >级别：<?php  echo GetLevel($sana['standardlevel']) ?></TD>
                                        </tr>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle >消费:<{$sana.amountsum}></TD>
                                        </tr>
                                        <TR style="background-color:#95d0f0;text-align: center;">
                                            <td colspan="2">
                                                <table width="100%">
                                                    <tr>
                                                        <TD height="25" colspan="2" align=middle >团队统计</TD>
                                                    </tr>

                                                    <TR>
                                                        <TD height="25" align=middle>一部:<{$sana.countA}></TD>
                                                        <TD height="25" align=middle>二部:<{$sana.countB}></TD>
                                                    </tr>
                                                </table>
                                            </td>

                                        </tr>
                                        <TR style="background-color:#D3D6E9;text-align: center;">
                                            <td>
                                                <table width="100%">
                                                    <tr>
                                                        <TD height="25" colspan="2" align=middle >累计消费</TD>
                                                    </tr>

                                                    <TR>
                                                        <TD height="25" align=middle>一部:￥<{$sana.amountSumA}></TD>
                                                        <TD height="25" align=middle>二部:￥<{$sana.amountSumB}></TD>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <else/>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle style="HEIGHT: 30px; BACKGROUND-COLOR: #95d8f1; color:#000; font-weight:bold">空点位</TD>
                                        </tr>
                                     <!--    <TR>
                                            <TD height="25" colspan="3" align=middle ><A href="__APP__/User/add?rid=<{$tuia['loginname']}>&pid=<{$tuia['loginname']}>&area=1"><font color="#">注 册</font></a></TD>
                                        </tr> -->
                                    </if>
                                    </TBODY>
                                </TABLE>
                            </TD>

                            <TD  align="center" style="border:0px;">

                                <TABLE  border=0 align="center" cellPadding=0 cellSpacing=1 borderColorLight=white borderColorDark=#ffffff class="ttab">
                                    <TBODY>
                                    <if condition="$sanb neq null">
                                        <TR>
                                            <TD height="25" colspan="3" align=middle style="HEIGHT: 30px; BACKGROUND-COLOR: #95d8f1; color:#000; font-weight:bold"><A href="__APP__/User/affectlists?name=<{$sanb['loginname']}>&id=<{$sanb['id']}>"style="color:#000" >编号：<{$sanb['loginname']}></A></TD>
                                        </TR>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle >姓名：<{$sanb['standardlevel']}></TD>
                                        </tr>

                                        <TR>
                                            <TD height="25" colspan="3" align=middle >级别：<?php  echo GetLevel($sanb['standardlevel']) ?></TD>
                                        </tr>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle >消费:<{$sanb.amountsum}></TD>
                                        </tr>
                                        <TR style="background-color:#95d0f0;text-align: center;">
                                            <td colspan="2">
                                                <table width="100%">
                                                    <tr>
                                                        <TD height="25" colspan="2" align=middle >团队统计</TD>
                                                    </tr>

                                                    <TR>
                                                        <TD height="25" align=middle>一部:<{$sanb.countA}></TD>
                                                        <TD height="25" align=middle>二部:<{$sanb.countB}></TD>
                                                    </tr>
                                                </table>
                                            </td>

                                        </tr>
                                        <TR style="background-color:#D3D6E9;text-align: center;">
                                            <td>
                                                <table width="100%">
                                                    <tr>
                                                        <TD height="25" colspan="2" align=middle >累计消费</TD>
                                                    </tr>

                                                    <TR>
                                                        <TD height="25" align=middle>一部:￥<{$sanb.amountSumA}></TD>
                                                        <TD height="25" align=middle>二部:￥<{$sanb.amountSumB}></TD>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <else/>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle style="HEIGHT: 30px; BACKGROUND-COLOR: #95d8f1; color:#000; font-weight:bold">空点位</TD>
                                        </tr>
                                       <!--  <TR>
                                            <TD height="25" colspan="3" align=middle ><A href="__APP__/User/add?rid=<{$tuia['loginname']}>&pid=<{$tuia['loginname']}>&area=2"><font color="#">注 册</font></a></TD>
                                        </tr> -->
                                    </if>
                                    </TBODY>
                                </TABLE>

                            </TD>
                            <TD  align="center" style="border:0px;">

                                <TABLE  border=0 align="center" cellPadding=0 cellSpacing=1 borderColorLight=white borderColorDark=#ffffff class="ttab">
                                    <TBODY>
                                    <if condition="$tsana neq null">
                                        <TR>
                                            <TD height="25" colspan="3" align=middle style="HEIGHT: 30px; BACKGROUND-COLOR: #95d8f1; color:#000; font-weight:bold"><A href="__APP__/User/affectlists?name=<{$tsana['loginname']}>&id=<{$tsana['id']}>"style="color:#000" >编号：<{$tsana['loginname']}></A></TD>
                                        </TR>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle >姓名：<{$tsana['truename']}></TD>
                                        </tr>

                                        <TR>
                                            <TD height="25" colspan="3" align=middle >级别：<?php  echo GetLevel($tsana['standardlevel']) ?></TD>
                                        </tr>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle >消费:<{$tsana.amountsum}></TD>
                                        </tr>
                                        <TR style="background-color:#95d0f0;text-align: center;">
                                            <td colspan="2">
                                                <table width="100%">
                                                    <tr>
                                                        <TD height="25" colspan="2" align=middle >团队统计</TD>
                                                    </tr>

                                                    <TR>
                                                        <TD height="25" align=middle>一部:<{$tsana.countA}></TD>
                                                        <TD height="25" align=middle>二部:<{$tsana.countB}></TD>
                                                    </tr>
                                                </table>
                                            </td>

                                        </tr>
                                        <TR style="background-color:#D3D6E9;text-align: center;">
                                            <td>
                                                <table width="100%">
                                                    <tr>
                                                        <TD height="25" colspan="2" align=middle >累计消费</TD>
                                                    </tr>

                                                    <TR>
                                                        <TD height="25" align=middle>一部:￥<{$tsana.amountSumA}></TD>
                                                        <TD height="25" align=middle>二部:￥<{$tsana.amountSumB}></TD>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <else/>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle style="HEIGHT: 30px; BACKGROUND-COLOR: #95d8f1; color:#000; font-weight:bold">空点位</TD>
                                        </tr>
                                       <!--  <TR>
                                            <TD height="25" colspan="3" align=middle ><A href="__APP__/User/add?rid=<{$tuib['loginname']}>&pid=<{$tuib['loginname']}>&area=1"><font color="#">注 册</font></a></TD>
                                        </tr> -->
                                    </if>
                                    </TBODY>
                                </TABLE>

                            </TD>
                            <TD  align="center" style="border:0px;">

                                <TABLE  border=0 align="center" cellPadding=0 cellSpacing=1 borderColorLight=white borderColorDark=#ffffff class="ttab">
                                    <TBODY>
                                    <if condition="$tsanb neq null">
                                        <TR>
                                            <TD height="25" colspan="3" align=middle style="HEIGHT: 30px; BACKGROUND-COLOR: #95d8f1; color:#000; font-weight:bold">
                                                <A href="__APP__/User/affectlists?name=<{$tsanb['loginname']}>&id=<{$tsanb['id']}>" style="color:#000" >编号：<{$tsanb['loginname']}></A></TD>
                                        </TR>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle >姓名：<{$tsanb['truename']}></TD>
                                        </tr>

                                        <TR>
                                            <TD height="25" colspan="3" align=middle >级别：<?php  echo GetLevel($tsanb['standardlevel']) ?></TD>
                                        </tr>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle >消费:<{$tsanb.amountsum}></TD>
                                        </tr>
                                        <TR style="background-color:#95d0f0;text-align: center;">
                                            <td colspan="2">
                                                <table width="100%">
                                                    <tr>
                                                        <TD height="25" colspan="2" align=middle >团队统计</TD>
                                                    </tr>

                                                    <TR>
                                                        <TD height="25" align=middle>一部:<{$tsanb.countA}></TD>
                                                        <TD height="25" align=middle>二部:<{$tsanb.countB}></TD>
                                                    </tr>
                                                </table>
                                            </td>

                                        </tr>
                                        <TR style="background-color:#D3D6E9;text-align: center;">
                                            <td>
                                                <table width="100%">
                                                    <tr>
                                                        <TD height="25" colspan="2" align=middle >累计消费</TD>
                                                    </tr>

                                                    <TR>
                                                        <TD height="25" align=middle>一部:￥<{$tsanb.amountSumA}></TD>
                                                        <TD height="25" align=middle>二部:￥<{$tsanb.amountSumB}></TD>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <else/>
                                        <TR>
                                            <TD height="25" colspan="3" align=middle style="HEIGHT: 30px; BACKGROUND-COLOR: #95d8f1; color:#000; font-weight:bold">空点位</TD>
                                        </tr>
                                        <!-- <TR>
                                            <TD height="25" colspan="3" align=middle ><A href="__APP__/User/add?rid=<{$tuib['loginname']}>&pid=<{$tuib['loginname']}>&area=2"><font color="#">注 册</font></a></TD>
                                        </tr> -->
                                    </if>
                                    </TBODY>
                                </TABLE>

                            </TD>
                        </TR>
                        </TBODY></TABLE>
				</div>
			</div>
		</div>	
	</div>
</body>

<script src="__PUBLIC__/Theme1/js/jquery.min.js"></script>

</body>

</html>
